//
//  UIImageView+Category.h
//  ChangGengHospital
//
//  Created by ZS on 17/2/23.
//  Copyright © 2017年 ZS. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImageView (Category)

/**
 创建imageView
 
 @param cg frame
 @param imageName imageViewName
 @param view 父试图
 @return imageView
 */
+(UIImageView*)creatImageView:(CGRect)cg backGroundImageV:(NSString*)imageName toView:(UIView *)view withContentMode:(UIViewContentMode)contentMode;

/**
 创建imageView
 
 @param imageName imageViewName
 @param view 父试图
 @return imageView
 */
+(UIImageView*)creatImageView:(NSString*)imageName toView:(UIView *)view withContentMode:(UIViewContentMode)contentMode;
@end
